home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / lpadmin.z / lpadmin
Encoding:
Text File  |  1998-10-20  |  7.3 KB  |  199 lines

  1.  
  2.  
  3.  
  4. LLLLPPPPAAAADDDDMMMMIIIINNNN((((1111MMMM))))                     PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss                     LLLLPPPPAAAADDDDMMMMIIIINNNN((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      lpadmin - configure the LP spooling system
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////lllliiiibbbb////llllppppaaaaddddmmmmiiiinnnn ----ppppprinter [options]
  13.      ////uuuussssrrrr////lllliiiibbbb////llllppppaaaaddddmmmmiiiinnnn ----xxxxdest
  14.      ////uuuussssrrrr////lllliiiibbbb////llllppppaaaaddddmmmmiiiinnnn ----dddd[dest]
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _l_p_a_d_m_i_n configures line printer (LP) spooling systems to describe
  18.      printers, classes and devices.  It is used to add and remove
  19.      destinations, change membership in classes, change devices for printers,
  20.      change printer interface programs and to change the system default
  21.      destination.
  22.  
  23.      Exactly one of the ----pppp, ----dddd or ----xxxx options must be present for every legal
  24.      invocation of _l_p_a_d_m_i_n.
  25.  
  26.      ----pppp_p_r_i_n_t_e_r      names a _p_r_i_n_t_e_r to which all of the _o_p_t_i_o_n_s below refer.
  27.                     If _p_r_i_n_t_e_r does not exist then it will be created.
  28.  
  29.      ----xxxx_d_e_s_t         removes destination _d_e_s_t from the LP system.  If _d_e_s_t is a
  30.                     printer and is the only member of a class, then the class
  31.                     will be deleted, too.  No other _o_p_t_i_o_n_s are allowed with
  32.                     ----xxxx.
  33.  
  34.      ----dddd[_d_e_s_t]       makes _d_e_s_t, an existing destination, the new system
  35.                     default destination.  If _d_e_s_t is not supplied, then there
  36.                     is no system default destination.  No other _o_p_t_i_o_n_s are
  37.                     allowed with ----dddd.
  38.  
  39.      The following _o_p_t_i_o_n_s are only useful with ----pppp and may appear in any
  40.      order.  For ease of discussion, the printer will be referred to as _P
  41.      below.
  42.  
  43.      ----cccc_c_l_a_s_s        inserts printer _P into the specified _c_l_a_s_s.  _C_l_a_s_s will be
  44.                     created if it does not already exist.
  45.  
  46.      ----eeee_p_r_i_n_t_e_r      copies an existing _p_r_i_n_t_e_r'_s interface program to be the
  47.                     new interface program for _P.
  48.  
  49.      ----hhhh             indicates that the device associated with _P is hardwired.
  50.                     This _o_p_t_i_o_n is assumed when adding a new printer unless
  51.                     the ----llll _o_p_t_i_o_n is supplied.
  52.  
  53.      ----iiii_i_n_t_e_r_f_a_c_e    establishes a new interface program for _P.  _I_n_t_e_r_f_a_c_e is
  54.                     the path name of the new program.
  55.  
  56.      ----llll             indicates that the device associated with _P is a login
  57.                     terminal.  The LP scheduler, _l_p_s_c_h_e_d, disables all login
  58.                     terminals automatically each time it is started.  Before
  59.                     re-enabling _P, its current _d_e_v_i_c_e should be established
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. LLLLPPPPAAAADDDDMMMMIIIINNNN((((1111MMMM))))                     PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss                     LLLLPPPPAAAADDDDMMMMIIIINNNN((((1111MMMM))))
  71.  
  72.  
  73.  
  74.                     using _l_p_a_d_m_i_n.
  75.  
  76.      ----mmmm_m_o_d_e_l        selects a model interface program for _P.  _M_o_d_e_l is one of
  77.                     the model interface names supplied with the LP Spooling
  78.                     Utilities (see _M_o_d_e_l_s below).
  79.  
  80.      ----rrrr_c_l_a_s_s        removes printer _P from the specified _c_l_a_s_s.  If _P is the
  81.                     last member of the _c_l_a_s_s, then the _c_l_a_s_s will be removed.
  82.  
  83.      ----vvvv_d_e_v_i_c_e       associates a new _d_e_v_i_c_e with printer _P.  _D_e_v_i_c_e is the
  84.                     pathname of a file that is writable by _l_p.  Note that the
  85.                     same _d_e_v_i_c_e can be associated with more than one _p_r_i_n_t_e_r.
  86.  
  87.    RRRReeeessssttttrrrriiiiccccttttiiiioooonnnnssss....
  88.      When creating a new printer, the ----vvvv option and one of the ----eeee, ----iiii or ----mmmm
  89.      options must be supplied.  Only one of the ----eeee, ----iiii or ----mmmm options may be
  90.      supplied.  The ----hhhh and ----llll keyletters are mutually exclusive.  Printer and
  91.      class names may be no longer than 14 characters and must consist entirely
  92.      of the characters AAAA-ZZZZ, aaaa-zzzz, 0000-9999 and ____ (underscore).
  93.  
  94.    MMMMooooddddeeeellllssss....
  95.      Model printer interface programs are supplied with the LP Spooling
  96.      Utilities.  They are shell procedures which interface between _l_p_s_c_h_e_d and
  97.      devices.  All models reside in the directory ////uuuussssrrrr////ssssppppoooooooollll////llllpppp////mmmmooooddddeeeellll and may
  98.      be used as is with _l_p_a_d_m_i_n ----mmmm.  Copies of model interface programs may
  99.      also be modified and then associated with printers using _l_p_a_d_m_i_n ----iiii.  The
  100.      following describes the _m_o_d_e_l_s which may be given on the _l_p command line
  101.      using the ----oooo keyletter:
  102.  
  103.      LQP-40
  104.           Letter quality printer using XON/XOFF protocol at 9600 baud.
  105.  
  106.      DQP-10
  107.           Dot matrix draft quality printer using XON/XOFF protocol at 9600
  108.           baud.
  109.  
  110. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  111.      1.  For a DQP-10 printer named cI8, it will use the DQP-10 model
  112.          interface after the command:
  113.  
  114.                /usr/lib/lpadmin -pcI8 -mdqp10
  115.  
  116.      2.  A LQP-40 printer called pr1 can be added to the lp configuration with
  117.          the command:
  118.  
  119.                /usr/lib/lpadmin -ppr1 -v/dev/contty -mlqp40
  120.  
  121. FFFFIIIILLLLEEEESSSS
  122.      /usr/spool/lp/*
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. LLLLPPPPAAAADDDDMMMMIIIINNNN((((1111MMMM))))                     PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss                     LLLLPPPPAAAADDDDMMMMIIIINNNN((((1111MMMM))))
  137.  
  138.  
  139.  
  140. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  141.      enable(1), lp(1), lpstat(1), accept(1M), lpsched(1M)
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.